<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			var reg = /\w*/g;
			var str = "FDF\ndfyd0fyydf";//["#&*@(^hg45-FDF"]
			var result = str.match(reg);
			console.log(result);
		</script>
	</head>
	<body>
	</body>
</html>
